package ctu.kfad.run.iterpreter;

import ctu.kfad.run.stack.AStackObject;
import org.apache.bcel.classfile.JavaClass;
import org.apache.bcel.classfile.Method;

import java.util.Stack;

public class InvokeInstructionCrate extends MethodClassCrate {
    private final Stack<AStackObject> arguments;

    public InvokeInstructionCrate(Method method, JavaClass calledClass, Stack<AStackObject> arguments) {
        super(method, calledClass);
        this.arguments = arguments;
    }

    public Stack<AStackObject> getArguments() {
        return arguments;
    }
}
